<style type="text/css">

.content {
    background:#FFF;
    margin:auto;
    border:1px solid #CCC;
    border-radius:5px;
    padding:10px 20px;
    text-align:left;
}

</style>

<div class="content">
    <div>
        <div>
            <span style="color: #cc0099">提问内容&nbsp;</span>
        </div>
        <br/>
        <div>
            <%= faq.content %>&nbsp;&nbsp;[<%= faq.post_date_disp %>]
        </div>
        <br/>
        <div>
            <span style="color: #cc0099">回复列表</span>
        </div>
        <div>
            <ul style="list-style-type: none">
                <%
                    var reply = null;
                    for (var i = 0, len=replys.length; i < len; i++) {
                        reply = replys[i];
                %>
                    <li ><%= reply.content %>&nbsp;&nbsp;[<%= reply.reply_date_disp %>]&nbsp;回复：<%= reply.replier %></li>
                <%
                    }
                %>
            </ul>
        </div>
    </div>
    <br/>
    <div>
        <span style="color: #cc0099">我要回复</span>
    </div>
    <div class="box post">
        <form action="/faq/<%=faq.qid%>/reply/new" method="post" id="form">
            <p>
                <textarea rows="2" name="content" class="long_txt" ></textarea>
            </p>
            <p>
                <a href="javascript:void(0);" onclick="document.getElementById('form').submit();">回复</a>&nbsp;
                <a href="/">返回提问列表</a>
            </p>
        </form>
    </div>
</div>

